Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault policy parser add pillar support #49343

Closed
wants to merge 1 commit into from
Closed

Vault policy parser add pillar support #49343

wants to merge 1 commit into from

Conversation

The-Loeki
Copy link
Contributor

@The-Loeki The-Loeki commented Aug 27, 2018

What does this PR do?

The Salt/Vault integration allows grains to be referenced in the policy mapping:

vault:
  policies:
  - salt/base
  - salt/minions/{grains[os]}

This adds pillar to the possibilities.

vault:
  policies:
  - salt/base
  - salt/minions/{grains[os]}
  - salt/minions/{pillar[roles]}
``
### Previous Behavior
Only `{grains}` could be defined in the Salt minion's token policies.

### New Behavior
Also `{pillar}` can be used.

@The-Loeki The-Loeki closed this Aug 27, 2018
@The-Loeki
Copy link
Contributor Author

duplicate of #43288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants